using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Reflection;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;
using WCSFContrib.PageFlow;

namespace PageFlowWithShoppingCartQuickstart.Store.PageFlows
{
    partial class StorePageFlow
    {
        #region Designer generated code
        
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCode]
        private void InitializeComponent()
        {
			this.CanModifyActivities = true;
			System.Workflow.Activities.CodeCondition codecondition1 = new System.Workflow.Activities.CodeCondition();
			this.setStateActivity4 = new System.Workflow.Activities.SetStateActivity();
			this.setStateActivity3 = new System.Workflow.Activities.SetStateActivity();
			this.ifElseBranchActivity2 = new System.Workflow.Activities.IfElseBranchActivity();
			this.ifElseBranchActivity1 = new System.Workflow.Activities.IfElseBranchActivity();
			this.setStateActivity9 = new System.Workflow.Activities.SetStateActivity();
			this.transitionListenerActivity8 = new WCSFContrib.PageFlow.WorkflowFoundation.Activities.TransitionListenerActivity();
			this.setStateActivity7 = new System.Workflow.Activities.SetStateActivity();
			this.transitionListenerActivity7 = new WCSFContrib.PageFlow.WorkflowFoundation.Activities.TransitionListenerActivity();
			this.setStateActivity8 = new System.Workflow.Activities.SetStateActivity();
			this.transitionListenerActivity6 = new WCSFContrib.PageFlow.WorkflowFoundation.Activities.TransitionListenerActivity();
			this.setStateActivity5 = new System.Workflow.Activities.SetStateActivity();
			this.transitionListenerActivity5 = new WCSFContrib.PageFlow.WorkflowFoundation.Activities.TransitionListenerActivity();
			this.setStateActivity6 = new System.Workflow.Activities.SetStateActivity();
			this.transitionListenerActivity4 = new WCSFContrib.PageFlow.WorkflowFoundation.Activities.TransitionListenerActivity();
			this.ifElseActivity1 = new System.Workflow.Activities.IfElseActivity();
			this.transitionListenerActivity3 = new WCSFContrib.PageFlow.WorkflowFoundation.Activities.TransitionListenerActivity();
			this.setStateActivity2 = new System.Workflow.Activities.SetStateActivity();
			this.transitionListenerActivity2 = new WCSFContrib.PageFlow.WorkflowFoundation.Activities.TransitionListenerActivity();
			this.setStateActivity1 = new System.Workflow.Activities.SetStateActivity();
			this.transitionListenerActivity1 = new WCSFContrib.PageFlow.WorkflowFoundation.Activities.TransitionListenerActivity();
			this.failedCheckout = new System.Workflow.Activities.EventDrivenActivity();
			this.successCheckout = new System.Workflow.Activities.EventDrivenActivity();
			this.goBack = new System.Workflow.Activities.EventDrivenActivity();
			this.addFailed = new System.Workflow.Activities.EventDrivenActivity();
			this.addItem = new System.Workflow.Activities.EventDrivenActivity();
			this.doCheckout = new System.Workflow.Activities.EventDrivenActivity();
			this.failed = new System.Workflow.Activities.EventDrivenActivity();
			this.resumeShopping = new System.Workflow.Activities.EventDrivenActivity();
			this.Congratulations = new WCSFContrib.PageFlow.WorkflowFoundation.Activities.PageState();
			this.Checkout = new WCSFContrib.PageFlow.WorkflowFoundation.Activities.PageState();
			this.Error = new WCSFContrib.PageFlow.WorkflowFoundation.Activities.PageState();
			this.BrowseCatalog = new WCSFContrib.PageFlow.WorkflowFoundation.Activities.PageState();
			this.Cart = new WCSFContrib.PageFlow.WorkflowFoundation.Activities.PageState();
			// 
			// setStateActivity4
			// 
			this.setStateActivity4.Name = "setStateActivity4";
			this.setStateActivity4.TargetStateName = "Checkout";
			// 
			// setStateActivity3
			// 
			this.setStateActivity3.Name = "setStateActivity3";
			this.setStateActivity3.TargetStateName = "Error";
			// 
			// ifElseBranchActivity2
			// 
			this.ifElseBranchActivity2.Activities.Add(this.setStateActivity4);
			this.ifElseBranchActivity2.Name = "ifElseBranchActivity2";
			// 
			// ifElseBranchActivity1
			// 
			this.ifElseBranchActivity1.Activities.Add(this.setStateActivity3);
			codecondition1.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.AllowCheckout);
			this.ifElseBranchActivity1.Condition = codecondition1;
			this.ifElseBranchActivity1.Name = "ifElseBranchActivity1";
			// 
			// setStateActivity9
			// 
			this.setStateActivity9.Name = "setStateActivity9";
			this.setStateActivity9.TargetStateName = "Error";
			// 
			// transitionListenerActivity8
			// 
			this.transitionListenerActivity8.Name = "transitionListenerActivity8";
			// 
			// setStateActivity7
			// 
			this.setStateActivity7.Name = "setStateActivity7";
			this.setStateActivity7.TargetStateName = "Congratulations";
			// 
			// transitionListenerActivity7
			// 
			this.transitionListenerActivity7.Name = "transitionListenerActivity7";
			// 
			// setStateActivity8
			// 
			this.setStateActivity8.Name = "setStateActivity8";
			this.setStateActivity8.TargetStateName = "Cart";
			// 
			// transitionListenerActivity6
			// 
			this.transitionListenerActivity6.Name = "transitionListenerActivity6";
			// 
			// setStateActivity5
			// 
			this.setStateActivity5.Name = "setStateActivity5";
			this.setStateActivity5.TargetStateName = "Error";
			// 
			// transitionListenerActivity5
			// 
			this.transitionListenerActivity5.Name = "transitionListenerActivity5";
			// 
			// setStateActivity6
			// 
			this.setStateActivity6.Name = "setStateActivity6";
			this.setStateActivity6.TargetStateName = "Cart";
			// 
			// transitionListenerActivity4
			// 
			this.transitionListenerActivity4.Name = "transitionListenerActivity4";
			// 
			// ifElseActivity1
			// 
			this.ifElseActivity1.Activities.Add(this.ifElseBranchActivity1);
			this.ifElseActivity1.Activities.Add(this.ifElseBranchActivity2);
			this.ifElseActivity1.Name = "ifElseActivity1";
			// 
			// transitionListenerActivity3
			// 
			this.transitionListenerActivity3.Name = "transitionListenerActivity3";
			// 
			// setStateActivity2
			// 
			this.setStateActivity2.Name = "setStateActivity2";
			this.setStateActivity2.TargetStateName = "Error";
			// 
			// transitionListenerActivity2
			// 
			this.transitionListenerActivity2.Name = "transitionListenerActivity2";
			// 
			// setStateActivity1
			// 
			this.setStateActivity1.Name = "setStateActivity1";
			this.setStateActivity1.TargetStateName = "BrowseCatalog";
			// 
			// transitionListenerActivity1
			// 
			this.transitionListenerActivity1.Name = "transitionListenerActivity1";
			// 
			// failedCheckout
			// 
			this.failedCheckout.Activities.Add(this.transitionListenerActivity8);
			this.failedCheckout.Activities.Add(this.setStateActivity9);
			this.failedCheckout.Name = "failedCheckout";
			// 
			// successCheckout
			// 
			this.successCheckout.Activities.Add(this.transitionListenerActivity7);
			this.successCheckout.Activities.Add(this.setStateActivity7);
			this.successCheckout.Name = "successCheckout";
			// 
			// goBack
			// 
			this.goBack.Activities.Add(this.transitionListenerActivity6);
			this.goBack.Activities.Add(this.setStateActivity8);
			this.goBack.Name = "goBack";
			// 
			// addFailed
			// 
			this.addFailed.Activities.Add(this.transitionListenerActivity5);
			this.addFailed.Activities.Add(this.setStateActivity5);
			this.addFailed.Name = "addFailed";
			// 
			// addItem
			// 
			this.addItem.Activities.Add(this.transitionListenerActivity4);
			this.addItem.Activities.Add(this.setStateActivity6);
			this.addItem.Name = "addItem";
			// 
			// doCheckout
			// 
			this.doCheckout.Activities.Add(this.transitionListenerActivity3);
			this.doCheckout.Activities.Add(this.ifElseActivity1);
			this.doCheckout.Name = "doCheckout";
			// 
			// failed
			// 
			this.failed.Activities.Add(this.transitionListenerActivity2);
			this.failed.Activities.Add(this.setStateActivity2);
			this.failed.Name = "failed";
			// 
			// resumeShopping
			// 
			this.resumeShopping.Activities.Add(this.transitionListenerActivity1);
			this.resumeShopping.Activities.Add(this.setStateActivity1);
			this.resumeShopping.Name = "resumeShopping";
			// 
			// Congratulations
			// 
			this.Congratulations.DefaultTransition = null;
			this.Congratulations.Name = "Congratulations";
			this.Congratulations.Url = "~/Congratulations.aspx";
			// 
			// Checkout
			// 
			this.Checkout.Activities.Add(this.successCheckout);
			this.Checkout.Activities.Add(this.failedCheckout);
			this.Checkout.DefaultTransition = null;
			this.Checkout.Name = "Checkout";
			this.Checkout.Url = "~/Checkout.aspx";
			// 
			// Error
			// 
			this.Error.Activities.Add(this.goBack);
			this.Error.DefaultTransition = null;
			this.Error.Name = "Error";
			this.Error.Url = "~/Error.aspx";
			// 
			// BrowseCatalog
			// 
			this.BrowseCatalog.Activities.Add(this.addItem);
			this.BrowseCatalog.Activities.Add(this.addFailed);
			this.BrowseCatalog.DefaultTransition = null;
			this.BrowseCatalog.Name = "BrowseCatalog";
			this.BrowseCatalog.Url = "~/BrowseCatalog.aspx";
			// 
			// Cart
			// 
			this.Cart.Activities.Add(this.resumeShopping);
			this.Cart.Activities.Add(this.failed);
			this.Cart.Activities.Add(this.doCheckout);
			this.Cart.DefaultTransition = null;
			this.Cart.Name = "Cart";
			this.Cart.Url = "~/Cart.aspx";
			// 
			// StorePageFlow
			// 
			this.Abandonable = WCSFContrib.PageFlow.AbandonBehavior.AllowAndSaveInstance;
			this.AbortUrl = null;
			this.Activities.Add(this.Cart);
			this.Activities.Add(this.BrowseCatalog);
			this.Activities.Add(this.Error);
			this.Activities.Add(this.Checkout);
			this.Activities.Add(this.Congratulations);
			this.CompletedStateName = null;
			this.Constrained = true;
			this.DynamicUpdateCondition = null;
			this.InitialStateName = "Cart";
			this.Name = "StorePageFlow";
			this.NotRunningUrl = "~/Default.aspx";
			this.CanModifyActivities = false;

        }

        #endregion

		private WCSFContrib.PageFlow.WorkflowFoundation.Activities.TransitionListenerActivity transitionListenerActivity3;
		private SetStateActivity setStateActivity2;
		private WCSFContrib.PageFlow.WorkflowFoundation.Activities.TransitionListenerActivity transitionListenerActivity2;
		private SetStateActivity setStateActivity1;
		private WCSFContrib.PageFlow.WorkflowFoundation.Activities.TransitionListenerActivity transitionListenerActivity1;
		private EventDrivenActivity doCheckout;
		private EventDrivenActivity failed;
		private EventDrivenActivity resumeShopping;
		private WCSFContrib.PageFlow.WorkflowFoundation.Activities.PageState Checkout;
		private WCSFContrib.PageFlow.WorkflowFoundation.Activities.PageState Error;
		private WCSFContrib.PageFlow.WorkflowFoundation.Activities.PageState BrowseCatalog;
		private SetStateActivity setStateActivity4;
		private SetStateActivity setStateActivity9;
		private WCSFContrib.PageFlow.WorkflowFoundation.Activities.TransitionListenerActivity transitionListenerActivity8;
		private SetStateActivity setStateActivity7;
		private WCSFContrib.PageFlow.WorkflowFoundation.Activities.TransitionListenerActivity transitionListenerActivity7;
		private SetStateActivity setStateActivity8;
		private WCSFContrib.PageFlow.WorkflowFoundation.Activities.TransitionListenerActivity transitionListenerActivity6;
		private SetStateActivity setStateActivity5;
		private WCSFContrib.PageFlow.WorkflowFoundation.Activities.TransitionListenerActivity transitionListenerActivity5;
		private SetStateActivity setStateActivity6;
		private WCSFContrib.PageFlow.WorkflowFoundation.Activities.TransitionListenerActivity transitionListenerActivity4;
		private EventDrivenActivity failedCheckout;
		private EventDrivenActivity successCheckout;
		private EventDrivenActivity goBack;
		private EventDrivenActivity addFailed;
		private EventDrivenActivity addItem;
		private WCSFContrib.PageFlow.WorkflowFoundation.Activities.PageState Congratulations;
		private SetStateActivity setStateActivity3;
		private IfElseBranchActivity ifElseBranchActivity2;
		private IfElseBranchActivity ifElseBranchActivity1;
		private IfElseActivity ifElseActivity1;
		private WCSFContrib.PageFlow.WorkflowFoundation.Activities.PageState Cart;



















	}
}
